            <header> 
                <a id=hdrLogo href="<?php echo $this->base ?>/" title="go back to Homepage"> <!-- Header Logo --> </a>
                <nav_user menunav>
                	<ul>
                		<li class=panel1><a href="<?php echo $this->base ?>/about_us" title="About - What we are"></a></li>
                		<li class=panel1><a href="<?php echo $this->base ?>/faq" title="FAQ's - Learn more"></a></li>
                		<li class=panel1><a href="<?php echo $this->base ?>/contact" title="Contact - Keep in touch"></a></li>
                		<li class=panel2>
                			<dl>
                				<dt>
                                <?php                                    
                                    $name = $access->getmy('username');
                                    if(strlen($name) > 9)
                                    {
                                        $name = substr($name, 0, 8) . '...';
                                    }
                                ?>
                					welcome, <?php echo $name ?>
                					<a href="<?php echo $this->base ?>/users/logout/">sign out</a>
                				</dt>
                				<dd>
                                    <?php                                    
                                        $thumbnail = $this->PhpThumb->generate(
                                            array(
                                                'save_path' => WWW_ROOT . 'img/uploads/Moderators/thumbs',
                                                // Where to save the thumbnail. (Make sure it is writable by the web server)

                                                'display_path' => 'uploads/Moderators/thumbs',
                                                // The web accessible path to the directory that the thumbnail lives in after its created.

                                                'error_image_path' => 'img/error.jpg',
                                                // The default image to display if something goes wrong while generating a thumbnail. 

                                                'src' => WWW_ROOT . "img/uploads/Moderators/" . $access->getmy('image'),
                                                // The source image to be converted into a thumbnail.
                                                // From here on out, you can pass any standard phpThumb parameters

                                                'w' => 40,
                                                'h' => 40,
                                                'q' => 100,
                                                'zc' => 1
                                                //'fltr'=>array('ric|4|4')
                                            )
                                        );
                                    
                                    ?>                                
                                                        <?php echo $this->Html->image($thumbnail['src'], array('width' => $thumbnail['w'], 'height' => $thumbnail['h'],'title' => 'User Picture', 'alt' => 'User Picture')); ?>
                					<!-- <img src="<?php echo $this->webroot ?>temp/tmp_img/img_jackjung01.jpg" alt="img_jackjung01" width="40" height="40" /> -->
                					<a href="<?php echo $this->base ?>/profiles/profile">my account</a>
                				</dd>
                			</dl>
                                        <div class=user_notification>
              					You have <?php echo $access->getmy('points');?> points <?php echo $access->getmy('planet_notif');?> <?php echo $access->getmy('star_notif');?> 
              				</div>                                        
                		</li>	
                	</ul>
                </nav_user>
            </header>
            